<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
  <link rel="stylesheet" type="text/css" href="{$cfg.url.css}html.css"/>
  <link rel="stylesheet" type="text/css" href="{$cfg.url.css}common.css"/>
  <script language="JavaScript" src="../js/common.js"></script>
<title>博客列表</title>
</head>

<body>
<div class="content">
<h1>博客列表</h1>


<table width="1000" cellspacing="1"  cellpadding="0" bordercolor="#FFFFFF" bgcolor="#FFFFFF"  style="color:#000000">
  <tr  bgcolor="#AAAAAA" style=" color: #FFCC00">
    <th width="5%" height="30" scope="col">序号</th>
    <th width="40%" scope="col">标题</th>
    <th width="10%" scope="col">作者</th>
	<th width="10%" scope="col">分类</th>
	<th width="10%" scope="col">时间</th>
	<th width="8%" scope="col">阅读次数</th>
	<th width="8%" scope="col">评论次数</th>
	<th width="9%" scope="col">操作</th>
  </tr>
  {foreach from=$articleList item=article}
  <tr bgcolor="#DDDDDD">
    <td height="24">{$article.article_id}</td>
    <td><a href="bklist.php?do=bkpage&article_id={$article.article_id}">{$article.article_title}</a></td>
	<td>{$article.article_author}</td>
	<td>
	{foreach from=$articleCategoryList item=category}
		{if $category.article_category_id eq $article.article_category}
		{$category.article_category_name}
		{/if}
	 {/foreach}
	</td>
	<td>{$article.article_category}</td>
	<td>{$article.article_read_count}</td>
	<td>{$article.article_reply_count}</td>
    <td><a href="bklist.php?do=bkmodify&article_id={$article.article_id}">[ 修改 ]</a><a href="bklist.php?do=delete&article_id={$article.article_id}">[ 删除 ]</a></td>
  </tr>
  {/foreach}
</table>
</div>
</body>
</html>